package com.jintoufs.service.commodity.impl;

import com.jintoufs.dao.commodity.CommodityMapper;
import com.jintoufs.service.commodity.CommodityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class CommodityServiceImpl implements CommodityService {
    @Resource
    private CommodityMapper commodityMapper;
    @Override
    public List<Map<String, Object>> getByParams(Map<String, Object> params) {
        return commodityMapper.getByParams(params);
    }
}
